<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p5_CSS文字处理</title>
    <style>
        p {
            font-size: 30px;
            font-family: 宋体;
        }
        a {
            text-decoration: underline;/*下划线*/
            text-decoration: line-through;/*删除线*/
            text-decoration: overline;/*上划线*/
            text-decoration: none;/*无下划线*/
        }
        div {
            width: 200px;
            height: 200px;
            border: 5px solid red;
            /*水平居中*/
            text-align: center;
            /*垂直居中*/
            line-height: 200px;
        }
        span{
            /*加粗*/
            font-weight: bold;
            /*细体*/
            font-weight: lighter;
            /*正常*/
            font-weight: normal;
            /*斜体*/
            font-style: italic;
        }
    </style>
</head>
<body>
    <p>我是测试文字</p>
    <a href="#">超链接</a>
    <div>我是div</div>
    <span>我是span</span>
    <h4>测试文字阴影</h4>
</body>
</html>